package com.vue.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "题库相关接口")
public class Paper {
    @ApiModelProperty("题目id")
    private Long id;

    @ApiModelProperty("教师id")
    private String teacherId;

    @ApiModelProperty("课程id")
    private String courseId;

    @ApiModelProperty("题目id")
    private String questionId;

    @ApiModelProperty("试卷标题")
    private String title;

    @ApiModelProperty("试卷描述")
    private String description;

    @ApiModelProperty("总分")
    private Long totalScore;

    @ApiModelProperty("考试时长")
    private String duration;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
